#include "CardSub.h"

Poker::CardSub::CardSub(const std::vector<Card> &cards)
    : m_Cards(cards)
{
}

bool Poker::CardSub::Confirm()
{
    std::map<unsigned int, unsigned int> numCount = GetNumCount();

}

std::map<unsigned int, unsigned int> Poker::CardSub::GetNumCount()
{
    std::map<unsigned int, unsigned int> res;

    for (const auto& card:m_Cards)
    {
        res[card.value]++;
    }
    return res;
}

bool Poker::CardSub::Responsive(const CardSub &other)
{
}
